<!DOCTYPE html>
<html>
    <head>
     {include file="./admin/common/header" /}
	
    </head>
    <body >
	<style>
	.loginform{
		margin:0 auto;
		padding-top:200px;
		align:center;
		min-width:300px;
		max-width:400px;
		align:center;
	}
	.layui-elip{
		
		text-align:center;
		font-size:40px;
		
	}
	.captchasize{
		width:200px;
	}
	
	</style>
        <div class="login-main loginform">
    <header class="layui-elip">后台登录</header>
	<hr>
    <form class="layui-form" method="post" action="{:url('/admin/Login/login')}">
  <div class="layui-form-item">
   
   
      <input type="text" name="username" lay-verify="title" autocomplete="off" placeholder="账号" class="layui-input">
  </div>
  <div class="layui-form-item">

      <input type="password" name="password" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input">
  </div>

		<div class="layui-row">
			<div class="layui-col-xs6">
		  <img class="captchasize" id="verify_img" src="{:captcha_src()}" alt="captcha" onclick="this.src='{:captcha_src()}'" />
		 
			</div>
			<div class="layui-col-xs6">
				<input type="text" name="verify" lay-verify="title" autocomplete="off" placeholder="请输入验证码" class="layui-input">
			</div>
			
		</div>
  

	<hr>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="demo1">登陆</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>

</form>
</div>
<script type="text/javascript">
	
    layui.use(['form'], function () {
        var form = layui.form,
		$ = layui.jquery;
    });
	  
 
</script>
    </body>
</html>